var OxOc50d=["outer","btnbrowse","inp_src","onclick","value","cssText","style","src","FileName"];var outer=Window_GetElement(window,OxOc50d[0],true);var btnbrowse=Window_GetElement(window,OxOc50d[1],true);var inp_src=Window_GetElement(window,OxOc50d[2],true);btnbrowse[OxOc50d[3]]=function btnbrowse_onclick(){function Ox35d(Ox13e){if(Ox13e){inp_src[OxOc50d[4]]=Ox13e;} ;} ;editor.SetNextDialogWindow(window);editor.ShowSelectFileDialog(Ox35d,inp_src.value);} ;UpdateState=function UpdateState_Media(){outer[OxOc50d[6]][OxOc50d[5]]=element[OxOc50d[6]][OxOc50d[5]];outer.mergeAttributes(element);if(element[OxOc50d[7]]){outer[OxOc50d[8]]=element[OxOc50d[8]];} else {outer.removeAttribute(OxOc50d[8]);} ;} ;SyncToView=function SyncToView_Media(){inp_src[OxOc50d[4]]=element[OxOc50d[8]];} ;SyncTo=function SyncTo_Media(element){element[OxOc50d[8]]=inp_src[OxOc50d[4]];} ;